Trees | Index | Help |
|
---|
Package phones :: Module com_samsungscha310 :: Class Phone |
|
object
--+ |Phone
--+ |RealBrewProtocol
--+ |Phone
--+ | Phone
Method Summary | |
---|---|
Calls all the constructors and sets initial modes | |
get_ringtone_index(self)
| |
Gets information fundamental to interopating with the phone and UI. | |
Reads the phonebook data. | |
Saves out the phonebook | |
__validate_entry(self,
pb_entry,
pb_groups)
| |
_bitpim_serials(self,
pb_entry)
| |
_del_my_serials(self,
pb_entry)
| |
_del_phone_entry(self,
pb_entry)
| |
_extract_phone_entry(self,
entry,
fundamentals)
| |
_get_number_type(self,
type)
| |
Reads the phonebook data. | |
_get_speeddial(self,
pb_entry)
| |
_has_duplicate_speeddial(self,
pb_book)
| |
_has_serial1(self,
pb_entry)
| |
_my_serials(self,
pb_entry)
| |
_same_serial1(self,
s1,
pb_entry)
| |
_set_speeddial(self,
pb_entry,
sd)
| |
_update_speeddial(self,
pb_entry)
| |
_write_phone_entry(self,
pb_entry,
groups,
ringtone_index)
| |
getphoneinfo(self,
phone_info)
| |
Inherited from Phone | |
Parse a Samsung comma separated list. | |
Fixes up phonebook responses with the alias field. | |
| |
(Class method) | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Convert the phone number into something the phone understands All digits, P, T, * and # are kept, everything else is removed | |
Optimize and expand calendar data suitable for phone download | |
Escape double quotes and }'s in a string... | |
| |
| |
| |
| |
| |
| |
Split fields and unescape double quote and right brace | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from Phone | |
Raises an alert in the main thread | |
| |
Log a message | |
Log some data with option data object/class for the analyser | |
Update the progress meter | |
Raise a comms DeviceNeedsAttention Exception | |
| |
Read the specified filename and bind it to the object class | |
Ensure the phone is in the right mode | |
Writhe the object into the file | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
Inherited from RealBrewProtocol | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
Class Variable Summary | |
---|---|
tuple |
builtinringtones = ('Inactive', 'Bell 1', 'Bell 2', 'Bel...
|
str |
desc = 'SCH-A310'
|
NoneType |
getmedia = None |
NoneType |
getringtones = None |
NoneType |
getwallpapers = None |
str |
serialsname = 'scha310'
|
NoneType |
_Phone__cal_end_datetime_value = None |
xrange |
_Phone__groups_range = xrange(5)
|
tuple |
_Phone__pb_blanks = (19, 20)
|
int |
_Phone__pb_date_time_stamp = 22 |
int |
_Phone__pb_email = 21 |
int |
_Phone__pb_entry = 0 |
int |
_Phone__pb_fax_num = 15 |
int |
_Phone__pb_group = 2 |
int |
_Phone__pb_home_num = 7 |
int |
_Phone__pb_max_emails = 1 |
int |
_Phone__pb_max_entries = 23 |
int |
_Phone__pb_max_name_len = 12 |
int |
_Phone__pb_max_number_len = 32 |
int |
_Phone__pb_max_speeddials = 500 |
int |
_Phone__pb_mem_loc = 1 |
int |
_Phone__pb_mobile_num = 11 |
int |
_Phone__pb_name = 4 |
int |
_Phone__pb_no_label_num = 17 |
tuple |
_Phone__pb_numbers = ({'home': 7}, {'office': 9}, {'cell...
|
int |
_Phone__pb_office_num = 9 |
int |
_Phone__pb_pager_num = 13 |
int |
_Phone__pb_ringtone = 3 |
int |
_Phone__pb_secret = 6 |
int |
_Phone__pb_speed_dial = 5 |
xrange |
_Phone__phone_entries_range = xrange(1, 501)
|
Inherited from Phone | |
str |
MODEPHONEBOOK = 'modephonebook'
|
str |
_AT_str = 'AT'
|
int |
_cal_alarm_type = 4 |
dict |
_cal_alarm_values = {'1': 0, '0': -1, '3': 30, '2': 10, ...
|
int |
_cal_datetime_stamp = 3 |
int |
_cal_end_datetime = 2 |
str |
_cal_end_datetime_value = '19800106T000000'
|
xrange |
_cal_entries_range = xrange(20)
|
int |
_cal_entry = 0 |
int |
_cal_max_events = 20 |
int |
_cal_max_events_per_day = 9 |
int |
_cal_max_name_len = 32 |
int |
_cal_num_of_read_fields = 7 |
int |
_cal_num_of_write_fields = 6 |
int |
_cal_read_name = 6 |
int |
_cal_start_datetime = 1 |
int |
_cal_write_name = 5 |
str |
_Error_str = '\r\nERROR\r\n'
|
str |
_OK_str = '\r\nOK\r\n'
|
float |
_read_timeout = 0.10000000000000001 |
str |
_switch_mode_cmd = 'DX\xf4~'
|
Inherited from Phone | |
NotImplementedType |
getcallhistory = NotImplemented
|
NotImplementedType |
getmemo = NotImplemented
|
NotImplementedType |
getplaylist = NotImplemented
|
NotImplementedType |
getsms = NotImplemented
|
NotImplementedType |
gett9db = NotImplemented
|
NotImplementedType |
gettodo = NotImplemented
|
str |
MODEMODEM = 'modemodem'
|
str |
MODENONE = 'modenone'
|
Inherited from RealBrewProtocol | |
str |
brewterminator = '~'
|
str |
MODEBREW = 'modebrew'
|
int |
_brewepochtounix = 315964800 |
Instance Method Details |
---|
__init__(self,
logtarget,
commport)
Calls all the constructors and sets initial modes
|
getfundamentals(self, results)Gets information fundamental to interopating with the phone and UI. Currently this is:
|
getphonebook(self, result)Reads the phonebook data. Thegetfundamentals information will already
be in result.
|
savephonebook(self, data)Saves out the phonebook |
_get_phonebook(self, result, show_progress=True)Reads the phonebook data. Thegetfundamentals information will already
be in result.
|
Class Variable Details |
---|
builtinringtones
|
desc
|
getmedia
|
getringtones
|
getwallpapers
|
serialsname
|
_Phone__cal_end_datetime_value
|
_Phone__groups_range
|
_Phone__pb_blanks
|
_Phone__pb_date_time_stamp
|
_Phone__pb_email
|
_Phone__pb_entry
|
_Phone__pb_fax_num
|
_Phone__pb_group
|
_Phone__pb_home_num
|
_Phone__pb_max_emails
|
_Phone__pb_max_entries
|
_Phone__pb_max_name_len
|
_Phone__pb_max_number_len
|
_Phone__pb_max_speeddials
|
_Phone__pb_mem_loc
|
_Phone__pb_mobile_num
|
_Phone__pb_name
|
_Phone__pb_no_label_num
|
_Phone__pb_numbers
|
_Phone__pb_office_num
|
_Phone__pb_pager_num
|
_Phone__pb_ringtone
|
_Phone__pb_secret
|
_Phone__pb_speed_dial
|
_Phone__phone_entries_range
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:28 2008 | http://epydoc.sf.net |